Release 10.1A: OpenEdge Deployment:
Startup Command and Parameter Reference


Stack Size (-s)

Use Stack Size (-s) to change the size of the stack (an internal memory area used by Progress program modules).

Operating system
and syntax
UNIX
Windows
-s n
Use
with
Maximum value
Minimum value
Single-user default
Multi-user default
Client Session
5,242,8781
9
40
40
1Actual maximum value is limited only by available memory

n

The size of the stack in 1KB units.

Note: It is recommended that the -s session startup parameter be set to 128. Setting this startup parameter to a smaller value may result in runtime errors in some environments.

Increase the stack size if one of the following messages appears:

SYSTEM ERROR: stkpush: stack overflow. Increase -s parameter.
SYSTEM ERROR: stkditem: stack overflow. Increase -s parameter. 

Stack overflow errors are most likely when data definitions are loaded for very large tables or use recursive procedures.

Note: If your application passes array parameters to procedures or functions, your stack size requirements can increase significantly.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095